

#ifndef _SHELL_REQCOMMITANSWER_MESSAGE_H_
#define _SHELL_REQCOMMITANSWER_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
using namespace std;

class ReqCommitAnswerMessage : public Message
{
	public:
	ReqCommitAnswerMessage();
	~ReqCommitAnswerMessage();
	void reset();
	ReqCommitAnswerMessage* clone();
	static const int _ID;
	//答案
	int8 answer;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
